<script type="application/json" id="selectors">
        [{
            "selector": ".t1 :only-of-type",
            "match": ["2"]
        }]
</script>
<div id="testDOM">
    <div class="t1">
        <p>This paragraph should have normal background</p>
        <address id="2" class="red">But this address should have green background</address>
        <p>This paragraph should have normal background</p>
    </div>
</div>
